import request from	 "../request.js"

function banner(data){
	return request({
		url:'/lejuClient/home/bannerAds',
		data,
	})
}
function categorys(id,data){
	return request({
		url:`/lejuClient/home/categorys/${id}`,
		data:data
	})
}
function activityList(data){
	return request({
		url:"/lejuClient/home/recommendList",
		data
	})
}
function hotList(data){
		
	return request({
		url:"/lejuClient/home/hotList",
		data
	})
}
function newList(data){
	return request({
		url:"/lejuClient/home/lejuLatestProducts",
		data
	})
}
function like(data){
	return request({
		url:"/lejuClient/home/saleMostProducts",
		data
	})
}
export {
	banner,
	categorys,
	activityList,
	hotList,
	newList,
	like
}